package cn.itsource.mapper;

import cn.itsource.pojo.domain.Department;
import cn.itsource.pojo.domain.Employee;
import cn.itsource.pojo.dto.DepartmentDto;
import cn.itsource.pojo.query.PageQueryWrapper;
import cn.itsource.result.JSONResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lifan
 * @since 2024-09-10
 */
public interface DepartmentMapper extends BaseMapper<Department> {

    List<DepartmentDto> seelctDept(PageQueryWrapper<DepartmentDto> departmentDto);

    List<DepartmentDto> findAll();

    List<Employee> getEmployeeName();

    void deleteId(Long[] ids);
}
